package com.yikang;

import java.util.Arrays;

/**
 * Created by wcd on 2017/2/22.
 */
public class Digui {
    public static void main(String args[]){
    String url ="fooo:ooboboo";
    String[] result =split(url);
    System.out.println("url.length="+url.length());
    System.out.println(Arrays.toString(result) );
    System.out.println(result.length);
    System.out.println(result[3].length());
        //System.out.println(f(1234345554));
    }
    static int f(int n){
        if(n<10){
            return n;
        }
        return n=f(n/10);
    }
    public static String[] split(String url){
        return url.split("o");
    }
}
